//分类图标
<template>
<ul class="categoryList">
    <li v-for="(imgs,index) in Listimg" :key="index">
        <img :src="imgs.imgUrl" alt="">
        <p>{{imgs.name}}</p>
    </li>
</ul>
</template>

<script>
export default {
  name: 'categoryList',
  props: ['Listimg']
}
</script>

<style lang="less" scoped>
.categoryList{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    li{
        width: 20%;
        text-align: center;
        padding: 0.2rem 0 0.2rem 0;
        img{
            width: 0.8rem;
            height: 0.8rem;
            margin-bottom: 0.2rem;
        }
        p{
            font-size: 0.2rem;
            color: #2c3e50;
        }
    }
}
</style>
